package com.wanmait.employment.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
* Created by Mybatis Generator 2023/05/22
*/
@Data
@TableName(value = "company")
public class Company {
    /**
     * 公司id
     */
     @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 公司账号
     */
    @TableField(value = "company_account")
    private String companyAccount;

    /**
     * 公司密码
     */
    @TableField(value = "company_password")
    private String companyPassword;

    /**
     * 盐
     */
    @TableField(value = "salt")
    private String salt;

    /**
     * 公司负责人
     */
    @TableField(value = "contact_person")
    private String contactPerson;

    /**
     * 公司负责人电话
     */
    @TableField(value = "contact_person_tel")
    private String contactPersonTel;

    /**
     * 公司名称
     */
    @TableField(value = "company_name")
    private String companyName;

    /**
     * 公司邮箱
     */
    @TableField(value = "company_email")
    private String companyEmail;

    /**
     * 注册时间
     */
    @TableField(value = "company_register_time")
    private Date companyRegisterTime;

    /**
     * 与官方合作时间
     */
    @TableField(value = "contract_expiration_date")
    private Date contractExpirationDate;

    /**
     * 经度
     */
    @TableField(value = "longitude")
    private Double longitude;

    /**
     * 维度
     */
    @TableField(value = "latitude")
    private Double latitude;

    /**
     * 地区id
     */
    @TableField(value = "address_id")
    private Integer addressId;
    /**
     * 查询区
     */
    @TableField(value ="address",exist = false )
    private Address address;

    /**
     * 查询市
     */
    @TableField(value ="city",exist = false )
    private Address city;

    /**
     * 查询省
     */
    @TableField(value ="province",exist = false )
    private Address province;

    /**
     * 详细地址
     */
    @TableField(value = "detailsa_address")
    private String detailsaAddress;

    /**
     * 公司电话
     */
    @TableField(value = "company_tel")
    private String companyTel;

    /**
     * 企业编码
     */
    @TableField(value = "company_code")
    private String companyCode;

    /**
     * 公司简介
     */
    @TableField(value = "company_profile")
    private String companyProfile;

    /**
     * 公司相关logo
     */
    @TableField(value = "company_pic")
    private String companyPic;

    /**
     * 公司规模id
     */
    @TableField(value = "company_scale_id")
    private Integer companyScaleId;
    @TableField(value = "companyScale_list",exist = false)
    private List<CompanyScale> companyScaleList;
    @TableField(value ="companyScale",exist = false )
    private CompanyScale companyScale;
    @TableField(value = "companyType_list",exist = false)
    private List<CompanyType> companyTypeList;

    /**
     * 人才发展趋向
     */
    @TableField(value = "development_trend")
    private String developmentTrend;

    /**
     * 企业名称
     */
    @TableField(value = "firm_name")
    private String firmName;

    /**
     * 法定代表人
     */
    @TableField(value = "legal_representative")
    private String legalRepresentative;

    /**
     * 公司行业类型id
     */
    @TableField(value = "company_type_id")
    private Integer companyTypeId;
    @TableField(value = "address_list",exist = false)
    private List<Address> addressList;
    @TableField(value ="companyType",exist = false )
    private CompanyType companyType;

    /**
     * 成立时间
     */
    @TableField(value = "set_up_time")
    private Date setUpTime;

    /**
     * 企业类型
     */
    @TableField(value = "company_type_title")
    private String companyTypeTitle;

    /**
     * 经营状态
     */
    @TableField(value = "operating_state")
    private String operatingState;

    /**
     * 注册资本
     */
    @TableField(value = "registered_capital")
    private String registeredCapital;

    /**
     * 注册地址
     */
    @TableField(value = "registered_address")
    private String registeredAddress;

    /**
     * 营业期限
     */
    @TableField(value = "business_term")
    private String businessTerm;

    /**
     * 所属地区
     */
    @TableField(value = "each_district")
    private String eachDistrict;

    /**
     * 统一社会信用代码
     */
    @TableField(value = "unified_social_credit_code")
    private String unifiedSocialCreditCode;

    /**
     * 核准日期（管理员通过时间）
     */
    @TableField(value = "date_of_approval")
    private Date dateOfApproval;

    /**
     * 曾用名
     */
    @TableField(value = "once_name")
    private String onceName;

    /**
     * 登记机关
     */
    @TableField(value = "registration_authority")
    private String registrationAuthority;

    /**
     * 所属行业
     */
    @TableField(value = "subordinate_to_industry")
    private String subordinateToIndustry;
//    融资阶段
    @TableField(value = "financing_stage_id")
    private Integer financingStageId;
    @TableField(value ="financingStage",exist = false )
    private FinancingStage financingStage;
    @TableField(value ="financingStage_list",exist = false )
    private List<FinancingStage> financingStageList ;
    /**
     * 经营范围
     */
    @TableField(value = "scope_business")
    private String scopeBusiness;

//      公司唯一会员码
    @TableField(value = "company_vip")
    private String companyVip;

    /**
     * 拉黑次数
     */
    @TableField(value = "company_black_count")
    private Integer companyBlackCount;

    /**
     * 是否拉黑
     */
    @TableField(value = "is_black")
    private Integer isBlack;

    /**
     * 假删
     */
    @TableField(value = "enable")
    private Boolean enable;

    public static final String COL_COMPANY_ACCOUNT = "company_account";

    public static final String COL_COMPANY_PASSWORD = "company_password";

    public static final String COL_SALT = "salt";

    public static final String COL_CONTACT_PERSON = "contact_person";

    public static final String COL_CONTACT_PERSON_TEL = "contact_person_tel";

    public static final String COL_COMPANY_NAME = "company_name";

    public static final String COL_COMPANY_EMAIL = "company_email";

    public static final String COL_COMPANY_REGISTER_TIME = "company_register_time";

    public static final String COL_CONTRACT_EXPIRATION_DATE = "contract_expiration_date";

    public static final String COL_LONGITUDE = "longitude";

    public static final String COL_LATITUDE = "latitude";

    public static final String COL_ADDRESS_ID = "address_id";

    public static final String COL_DETAILSA_ADDRESS = "detailsa_address";

    public static final String COL_COMPANY_TEL = "company_tel";

    public static final String COL_COMPANY_CODE = "company_code";

    public static final String COL_COMPANY_PROFILE = "company_profile";

    public static final String COL_COMPANY_PIC = "company_pic";

    public static final String COL_COMPANY_SCALE = "company_scale_id";

    public static final String COL_DEVELOPMENT_TREND = "development_trend";

    public static final String COL_FIRM_NAME = "firm_name";

    public static final String COL_LEGAL_REPRESENTATIVE = "legal_representative";

    public static final String COL_COMPANY_TYPE_ID = "company_type_id";

    public static final String COL_SET_UP_TIME = "set_up_time";

    public static final String COL_COMPANY_TYPE_Title = "company_type_Title";

    public static final String COL_OPERATING_STATE = "operating_state";

    public static final String COL_REGISTERED_CAPITAL = "registered_capital";

    public static final String COL_REGISTERED_ADDRESS = "registered_address";

    public static final String COL_BUSINESS_TERM = "business_term";

    public static final String COL_EACH_DISTRICT = "each_district";

    public static final String COL_UNIFIED_SOCIAL_CREDIT_CODE = "unified_social_credit_code";

    public static final String COL_DATE_OF_APPROVAL = "date_of_approval";

    public static final String COL_ONCE_NAME = "once_name";

    public static final String COL_REGISTRATION_AUTHORITY = "registration_authority";

    public static final String COL_SUBORDINATE_TO_INDUSTRY = "subordinate_to_industry";

    public static final String COL_SCOPE_BUSINESS = "scope_business";

    public static final String COL_COMPANY_BLACK_COUNT = "company_black_count";

    public static final String COL_IS_BLACK = "is_black";

    public static final String COL_ENABLE = "enable";
}